<template>
  <div class="hello">
    <h1>{{ msg }}</h1>
    <h2>Essential Links</h2>
    <h2>test_title</h2>
    <div class="test2">
      这里是组件<span>iiii</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
  methods:{

  }
}
</script>

<style scoped lang="stylus">
func2(fontc){
  .hello{
    transition:all 2s;
    background-color:fontc;
  }
}
.a{
  func2(bg-green)
}
.b{
  func2(bg-purple)
}

</style>

